use clap::Parser;

#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Config {
    /// the Num of nodes(servers)
    #[arg(short, long, default_value_t = 6)]
    pub node_num: usize,
    /// the K in algorithm
    #[arg(short, long, default_value_t = 2.0)]
    pub k_value: f64,
    /// the path of the input file to load adj-matrix
    /// Not Suported now ...
    pub input_file: Option<String>,
    /// Logger Enable?
    #[arg(short, long, default_value_t = false)]
    pub logger: bool,
}
